package com.hzhr.iot.device.sdk.model.iotDeviceType;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "IotDeviceTypeModel", description = "物联网设备型号模型")
public class IotDeviceTypeModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 设备描述(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "des")
    private String des;
    @ApiModelProperty(value = "说明 : 所属物联网公司编号(show_info=true时展示; 关联: user_service.company.id)", required = true)
    @CygProperty(show = "_show_info", entityProp = "companyId")
    private Integer companyId;
    @ApiModelProperty(value = "说明 : 物联网设备种类代码(show_info=true时展示; 关联: device_service.options.code, typeCode = 'IOT_DEVICE_CATEGORY')", required = true)
    @CygProperty(show = "_show_info", entityProp = "deviceCategoryCode")
    private String deviceCategoryCode;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getDeviceCategoryCode() {
        return deviceCategoryCode;
    }

    public void setDeviceCategoryCode(String deviceCategoryCode) {
        this.deviceCategoryCode = deviceCategoryCode;
    }
}

